package com.xmj.ms.mapper;

import com.xmj.ms.domain.PaymentMethods;

import java.util.List;

/**
 * 支付Mapper接口
 *
 * @author ohh
 * @date 2024-04-21
 */
public interface PaymentMethodsMapper
{
    /**
     * 查询支付
     *
     * @param paymentmethodID 支付主键
     * @return 支付
     */
    public PaymentMethods selectPaymentMethodsByPaymentmethodID(Long paymentmethodID);

    /**
     * 查询支付列表
     *
     * @param paymentMethods 支付
     * @return 支付集合
     */
    public List<PaymentMethods> selectPaymentMethodsList(PaymentMethods paymentMethods);

    /**
     * 新增支付
     *
     * @param paymentMethods 支付
     * @return 结果
     */
    public int insertPaymentMethods(PaymentMethods paymentMethods);

    /**
     * 修改支付
     *
     * @param paymentMethods 支付
     * @return 结果
     */
    public int updatePaymentMethods(PaymentMethods paymentMethods);

    /**
     * 删除支付
     *
     * @param paymentmethodID 支付主键
     * @return 结果
     */
    public int deletePaymentMethodsByPaymentmethodID(Long paymentmethodID);

    /**
     * 批量删除支付
     *
     * @param paymentmethodIDs 需要删除的数据主键集合
     * @return 结果
     */
    public int deletePaymentMethodsByPaymentmethodIDs(Long[] paymentmethodIDs);
}
